package com.nwcl.ysx.request;

import com.nwcl.common.request.BaseRequest;
import com.nwcl.common.result.Result;

/**
 * @author liguiqin
 * @date 2023/5/26
 */
public class GoodsCashRequest implements BaseRequest {
    private Integer goodsId;//商品id

    @Override
    public Result check() {
        if(goodsId==null){
            return Result.fail("商品id不能为空");
        }
        return null;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }
}
